<%--
 $Author:  zhaifeng$
 $Rev:  $
 $Date:: 2012-09-07#$:

 Copyright (C) 2012 Seeyon, Inc. All rights reserved.
 This software is the proprietary information of Seeyon, Inc.
 Use is subject to license terms.
--%>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
    request.setAttribute("editor.enabled","true");
    request.setAttribute("colRand", java.lang.Math.random());
%>
<%@page import="com.seeyon.ctp.common.flag.*"%>
<!DOCTYPE html>
<html class="h100b over_hidden">
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="renderer" content="webkit" />

<!-- 查看处理页面 -->
<title>${(summaryVO.subject)}</title>

<%@ include file="/WEB-INF/jsp/common/commonSummary.jsp"%>

<% if (!isDevelop) { %>
<link rel="stylesheet" type="text/css" href="${path}/apps_res/collaboration/css/summary-jsp-min.css${ctp:resSuffix()}">
<% } %>
<%-- @功能插件引入 --%>
<% if (isDevelop) { %>
<link rel="stylesheet" href="${path}/apps_res/collaboration/atwho/css/jquery.atwho.min.css${ctp:resSuffix()}">
<% } %>

<%-- 数据关联 --%>

<!-- 是否包含工作流高级插件 -->
<c:set var = "hasWorkFlowAdvance" value="${ctp:hasPlugin('workflowAdvanced')}"/>
<%-- 是否是从已发和待发打开自由协同 --%>
<c:set var = "isSelfColSent" value="${empty summaryVO.summary.templeteId and (param.openFrom eq 'listSent' or param.openFrom eq 'listWaitSend' or summaryVO.affair.state eq 2) }"/>
<c:set var="hasDataRelation" value="${summaryVO.openFrom ne 'formRelation' and summaryVO.openFrom ne 'subFlow' and summaryVO.openFrom ne 'glwd' and summaryVO.openFrom ne 'docLib' and summaryVO.openFrom ne 'supervise' and summaryVO.openFrom ne 'formQuery' and summaryVO.openFrom ne 'formStatistical' and summaryVO.openFrom ne 'F8Reprot' and summaryVO.openFrom ne 'repealRecord' and summaryVO.openFrom ne 'stepBackRecord' and !isSelfColSent and hasWorkFlowAdvance}"/>
<% if (isDevelop) { %>
<c:if test="${(hasDataRelation and isHistoryFlag ne 'true') || showTraceWorkflows}">
  <link rel="stylesheet" href="${path}/apps_res/collaboration/css/dataRelation.css${ctp:resSuffix()}">
</c:if>
<% } %>

    <style type='text/css'>
    #processAdvanceDIV{right:50px;top:115px;z-index:90;width:270px;height:44px;background:rgba(247,247,247,1);box-shadow:0px 6px 10px 2px rgba(0,0,0,0.1);border-radius:4px;border:1px solid rgba(208,208,208,1)}
	#processAdvanceDIV #searchText{padding-right:80px;width:252px;height:30px;background:rgba(255,255,255,1);border-radius:15px;margin:5px auto;color:#999;padding-left:12px;display:block}
    #processAdvanceDIV .icon_btns{position:absolute;right:22px;top:18px}
	#processAdvanceDIV .icon_btns .syIcon{color:#C0C4CC;font-size:15px;cursor:pointer}
	#processAdvanceDIV .icon_btns .syIcon:hover{color:#999;font-size:15px;cursor:pointer}
    .common_tabs.common_tabs_big .current a{
    font-size: 14px;
    font-family: MicrosoftYaHei-Bold,MicrosoftYaHei;
    font-weight: bold;
    color: #FFF;
    padding: 0;
    width: 110px;
    height: 32px;
    background: #1F85EC;
    border-radius: 4px 4px 0px 0px;
    }
    .common_tabs.common_tabs_big a {
    color: #666666;
    border-right: 1px solid #F8F8F8;
    padding: 0;
    background: #F8F8F8;
    }
        .menu_simple a{
            height:30px;
            line-height:30px;
            padding:0 10px;
        }
        /*取8.0buttonY 样式单独覆盖下*/
        #allocation{
            margin-right: 5px;
            width:auto;
            min-width:10px;
            max-width:100px;
            background: #1F85EC;
            color: #ffffff;
            border: 1px solid #1F85EC;
            font-size: 12px;
             border-radius: 20px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding: 0 20px;
            line-height: 26px;
            *line-height: 25px;
            height: 26px;
            vertical-align: middle;
            _vertical-align: baseline;
            display: inline-block;
            cursor: pointer;
            float: left;
        }

    </style>
    <script type="text/javascript">
        if(SeeUtils.isIE){
        $("#__mainBodyHeight").height("99.5%");
        }else{
        $("#__mainBodyHeight").height("100%");
        }
        var summaryId = '${summaryVO.summary.id}';
        var affairId  = '${summaryVO.affairId}';
        var allocationAffairId = '${allocationAffairId}';

        <%-- 解锁Param--%>
        var formAppId = '${summaryVO.summary.formAppid}';
        var fromRecordId = '${summaryVO.summary.formRecordid}';
        var viewId = '${summaryVO.affair.formId}';
        var formViewOperation = '${summaryVO.affair.multiViewStr}';

        <%--后台已经使用ctp:toHTML()进行了一次转义了，所以这个地方不能重复转义了--%>
        var subject = "${ctp:escapeJavascript(summaryVO.summary.subject)}";
        var _trackTitle = "${ctp:i18n('collaboration.newColl.alert.zdgzrNotNull')}";
        var _summaryProcessId = '${summaryVO.summary.processId}';
        var _summaryActivityId = '${summaryVO.activityId}';
        var _summaryCaseId = '${summaryVO.summary.caseId}';
        var _summaryItemId=  '${ctp:escapeJavascript(summaryVO.workitemId)}';
        var showContentIdentify = "${ctp:escapeJavascript(showContentIdentify)}";
        var _processTemplateId= '';
        var _contextProcessId = '${contentContext.wfProcessId}';
        var _contextActivityId = '${contentContext.wfActivityId}';
        var _contextCaseId = '${contentContext.wfCaseId}';
        var _contextItemId = '${contentContext.wfItemId}';
        var _scene = "${ctp:escapeJavascript(scene)}";
        var show1 = '${ctp:escapeJavascript(show1)}';
        var show2 = '${ctp:escapeJavascript(show2)}';
        var DR = "${DR}";
        var templateProcessId = "${templateProcessId}";
        var senderId = "${summaryVO.summary.startMemberId}";
        var nodePolicy = "${summaryVO.affair.nodePolicy}";
        var nodePolicyName = "${nodePolicyName}";
        var projectId = "${summaryVO.summary.projectId}";
        var _currentUserId = '${ctp:escapeJavascript(CurrentUser.id)}';
        var _currentUserName = '${ctp:escapeJavascript(CurrentUser.name)}';
        var _loginAccountId = '${ctp:escapeJavascript(CurrentUser.loginAccount)}';
        var isFromTemplate = '${summaryVO.summary.templeteId ne null}';
        var templateType = '${ctp:escapeJavascript(templateType)}';
        var affairState = "${ctp:escapeJavascript(summaryVO.affair.state)}";
        var affairSubState = '${ctp:escapeJavascript(summaryVO.affair.subState)}';
        var isCurrentUserSupervisor = "${ctp:escapeJavascript(summaryVO.isCurrentUserSupervisor)}";
        var isCurrentUserSender = "${ctp:escapeJavascript(summaryVO.isCurrentUserSender)}";
        var isFinshed = "${ctp:escapeJavascript(summaryVO.flowFinished)}";
        var isFinish = ${(summaryVO.summary.finishDate!= null) ? true : false};
        var commentId = "${ctp:escapeJavascript(commentId)}";
        var _isOfficeTrans = ${v3x:isOfficeTran()};
        var openFrom = "${ctp:escapeJavascript(summaryVO.openFrom)}";
        //致信打开协同的时候会传递这个参数ucpc。
        var extFrom = "${ctp:escapeJavascript(param.extFrom)}";
        //邮件
        var thirdparty = "${ctp:escapeJavascript(param.thirdparty)}";

        var summaryReadOnly = '${ctp:escapeJavascript(summaryVO.readOnly)}';
        var templateId = '${ctp:escapeJavascript(summaryVO.summary.templeteId)}';
        var isSupervise = '${ctp:escapeJavascript(summaryVO.openFrom)}'=='supervise';
        var isFormQuery = '${ctp:escapeJavascript(summaryVO.openFrom)}'=='formQuery' || '${ctp:escapeJavascript(summaryVO.openFrom)}'=='capQuery';

        var isFormStatic = '${ctp:escapeJavascript(summaryVO.openFrom)}'=='capStatistical' || '${ctp:escapeJavascript(summaryVO.openFrom)}'=='formStatistical';
        var isCurSuperivse = '${CurrentUser.externalType}' == '0' && (openFrom=='listDone' || isFormQuery || isFormStatic) && '${summaryVO.isCurrentUserSupervisor}' == 'true';
        var _moduleTypeName = '${ctp:escapeJavascript(contentContext.moduleTypeName)}';
        var _affairMemberId = '${ctp:escapeJavascript(summaryVO.affair.memberId)}';
        var _startMemberId = "${ctp:escapeJavascript(summaryVO.summary.startMemberId)}";

        //当前能否收藏
        var _canFavorite = "${ctp:escapeJavascript(canFavorite)}";
        //当前附件能否收藏
        var canAttFavorite = "${ctp:escapeJavascript(canAttFavorite)}";

        var trackType = '${ctp:escapeJavascript(trackType)}';
        var bodyType = '${ctp:escapeJavascript(summaryVO.summary.bodyType)}';
        var hasBarCodePlug = '${ctp:escapeJavascript(hasBarCodePlug)}';
        var formRecordid = '${ctp:escapeJavascript(summaryVO.summary.formRecordid)}';
        var operationId = "${ctp:escapeJavascript(summaryVO.formViewOperation)}";

        //控制OFFICE正文能否打印，OFFICE组件中会读取这个变量
        var isFromTrace = openFrom == "repealRecord" || openFrom == 'stepBackRecord' || openFrom == 'stepbackRecord';
        var officecanPrint = isFromTrace ? 'false' : '${summaryVO.officecanPrint}';
        var canEdit  =  isFromTrace ? 'false' : '${canEdit and summaryVO.affair.state eq 3}';
        var pdfCanSaveLocal =   isFromTrace ? 'false' : '${pdfCanSaveLocal and summaryVO.affair.state eq 3}';
        var officecanSaveLocal = isFromTrace ? 'false' : '${summaryVO.officecanSaveLocal}';
        var trackIds='${ctp:escapeJavascript(trackIds)}';
        var openType = "";
        var contentAnchor = "${ctp:escapeJavascript(contentAnchor)}";
        var nodePerm_baseActionList = <c:out value="${nodePerm_baseActionList}" default="null" escapeXml="false"/>;
        var nodePerm_commonActionList = <c:out value="${nodePerm_commonActionList}" default="null" escapeXml="false"/>;
        var nodePerm_advanceActionList = <c:out value="${nodePerm_advanceActionList}" default="null" escapeXml="false"/>;
        var isDealPageShow = "${ctp:escapeJavascript(isDealPageShow)}";
        var flowPermAccountId= '${summaryVO.flowPermAccountId}';
        var nodePolicy = "${ctp:escapeJavascript(nodePolicy)}";
        var hasAttsFlag = '${summaryVO.hasAttsFlag}';
        var templateWorkflowId =  '${templateWorkflowId}';
        var supervisorsId = '${summaryVO.summary.supervisorsId }';
        var summaryOrgAccountId = '${summaryVO.summary.orgAccountId}';
        var affairFirstViewTime = '${summaryVO.affair.firstViewDate.time}';
        var affairSignleViewPeriod = '${summaryVO.affair.signleViewPeriod}';

        //是否有密级插件
        var secretLevelAble = '${ctp:escapeJavascript(secretLevelAble)}';
        var secretLevelJSON = secretLevelAble =='true' ? '${ctp:escapeJavascript(secretLevelJSON)}' : '';
        
      	//是否为督办业务
		var isSupervision = "${isSupervision}";

        var layout = null;
        var rightId = '${ctp:escapeJavascript(rightId)}' ;

        // 表单校验规则
        var ruleId = '${ctp:escapeJavascript(ruleId)}';
        //当前节点是否加盖html签章 false：未盖章，true：加盖印章
        var nowNodeIsSignatureHtml = "false";
        //dialog方式打开协同，dialog的ID可以默认，也可以通过参数传过来，目前表单统计查询都是传递过来的。
        var dialogId = "${param.dialogId eq null ? 'dialogDealColl' : ctp:escapeJavascript(param.dialogId)}";
        var isHasDealPage = "${ summaryVO.affair.state eq 3 and param.openFrom eq 'listPending'}";
        var isTimeLine ='${param.isTimeLine}';
        var noConfigItem = "${noFindPermission}";
        // var defaultWidth;
        var customSetTrackFlag = '${customSetTrack}' == 'true';
        var deeReadOnly = '${deeReadOnly}' =='1';
        var isHistoryFlag = "${isHistoryFlag}";
        //var _affairSubState=affairSubState;
        var affairMemberName="${ctp:escapeJavascript(summaryVO.affairMemberName)}";//当前待办事项的所属人Name

        var currentUserLocale = "${CurrentUser.locale}"
        var currentUserloginName = "${ctp:escapeJavascript(CurrentUser.loginName)}";
        var _sid = "${ctp:escapeJavascript(sessionId)}";
        var xmlDoc = null;
        var _isSystemAdmin = "${CurrentUser.systemAdmin}";
        var _trackTypeRecord = '${ctp:escapeJavascript(trackTypeRecord)}';
        var isCollCube = '${isCollCube}' ;
        var isColl360 = '${isColl360}' ;

        var isOptional = "${isOptional}";
        var optionalAction = "${optionalAction}";
        var defaultAction = "${defaultAction}";
        var hasPluginUC = ${ctp:hasPlugin('uc')};


        var hasDealArea = "${hasDealArea}";
        <%-- var nodeInfoMaps = "${ctp:escapeJavascript(nodeInfoMaps)}"; --%>
        var canCreateMeeting = "${ctp:escapeJavascript(canCreateMeeting)}";

        var isCollect = '${isCollect}' == 'true';//这个参数应该不会再用了

        var wfTraceType = "${wfTraceType}";

        var signetProtectInput = "${signetProtectInput}";
        var hasMeeting = "${ctp:hasPlugin('meeting')}";

        var isV5Member = '${CurrentUser.externalType == 0}';
        var cap4Flag = "${isCAP4}";
        var hasFormLock = "${hasFormLock}";
        var alertLockMsg = "${alertLockMsg}";
        var realFormLock = "${realFormLock}";
        var isReadOnly = "${isReadOnly}";
        var needLockForm = "${needLockForm}";
        var officeOcxUploadMaxSize = "${officeOcxUploadMaxSize}";


        var affairBodyType = "${affair.bodyType}";
        var isFromTransform = '${isFromTransform ne null and isFromTransform}';
        var forwardMember = "${summaryVO.summary.forwardMember}";
        var replyCounts = "${summaryVO.summary.replyCounts}";
        var nodeName = "${affair.nodeName}";


        var tabOfficeURL = "${path}/collaboration/collaboration.do?method=tabOffice${ctp:csrfSuffix()}"+ CsrfGuard.getUrlSurffix();

        var isCAP4 = "${isCAP4 == 'true'}";
        // 是否有转发权限
        var hasForward = "${hasForward}" == "true";

        // 获取第三方正文的参数
        var isThirdContent = "${isThirdContent}" == "true";
        var zwIframeModuleId = "${_moduleId}";
        var _summaryId = summaryId;
        // 是否可执行流程预测
        var canExePrediction = '${summaryVO.canExePrediction}';

        var templateCanDeleteNode = "${summaryVO.summary.canDeleteNode}";

        var isAppLinkApprove = "${summaryVO.appLikApprove}" == 'true';


        // 是否可以分享
        var canShare = '${summaryVO.canShare}' == 'true';

        //附件上传的最大值
        var fileUploadMaxSize = '${fileUploadMaxSize}';

        var isForward = "${isForwardCol}";
    </script>
    <script type="text/javascript" src="${path}/common/cap-dynamic-front/load.js${ctp:resSuffix()}"></script>
	<c:if test="${isThirdContent == 'true'}">
	    <script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/js/contentProxy.js${ctp:resSuffix()}"></script>
	</c:if>
     <% if (isDevelop) { %>
        <script type="text/javascript" charset="UTF-8" src="${path}/apps_res/uc/rongcloud/chat.js${ctp:resSuffix()}"></script>
        <script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/js/comment.js${ctp:resSuffix()}"></script>
        <script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/js/componentPage.js${ctp:resSuffix()}"></script>
        <script type="text/javascript" charset="UTF-8" src="${path}/apps_res/doc/js/knowledgeBrowseUtils.js${ctp:resSuffix()}"></script>
        <script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/js/summary.js${ctp:resSuffix()}"></script>
        <script type="text/javascript" src="${path}/common/waterMark/js/waterMark.js${ctp:resSuffix()}"></script>
        <script type="text/javascript" src="${path}/common/isignaturehtml/artDialog/dialog-min.js${ctp:resSuffix()}"></script>
        <%--人工分配js--%>
        <script type="text/javascript" charset="UTF-8" src="${path}/common/workflow/allocation/manualAllocation.js${ctp:resSuffix()}"></script>
        <%-- @功能引用js --%>
        <script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/atwho/js/jquery.atwho.js${ctp:resSuffix()}"></script>
        <script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/atwho/js/jquery.caret.js${ctp:resSuffix()}"></script>
     <% } else { %>
        <script type="text/javascript" charset="UTF-8" src="${path}/apps_res/collaboration/js/summary-jsp-min.js${ctp:resSuffix()}"></script>
     <% } %>
    <script type="text/javascript" src="${path}/common/officeTrans/WpsTrans.js${ctp:resSuffix()}"></script>
<c:set var="isFromTraceFlag" value='${summaryVO.openFrom == "repealRecord" || summaryVO.openFrom == "stepBackRecord" || summaryVO.openFrom == "stepbackRecord"}'></c:set>
<c:set var ="hasDealArea" value="${!isHistoryFlag && summaryVO.affair.app ne 45 && summaryVO.affair.state eq 3 and (summaryVO.openFrom eq 'listPending' or summaryVO.openFrom eq 'listSent')}"  />
</head>
<body class="h100b over_hidden page_color" onunload="_leavePage('${summaryVO.affairId}')">
    <v3x:attachmentDefine attachments="${attachments}" />
        <c:choose>
            <c:when test="${isDealPageShow eq 'false'}">
                <div id='layout' class="isDealPageShow">
            </c:when>
            <c:when test="${hasDealArea eq 'false'}">
                <div id='layout' class="hasDealArea">
            </c:when>
            <c:when test="${hasDealArea ne 'false' || isDealPageShow ne 'false'}">
                <div id='layout' class="wrapper">
            </c:when>
        </c:choose>
        <%-- 流程助手：相关数据、查看流程说明书 --%>
        <c:if test="${hasDealArea eq 'true'}">
            <div id="dataRelationArea" class="dataRelationArea" <c:if test="${not empty supervisionItems}">style="top:40px"</c:if>>
        </c:if>
        <c:if test="${hasDealArea ne 'true'}">
            <div id="dataRelationArea" class="dataRelationArea" style="right: 10px;<c:if test="${not empty supervisionItems}">top:40px</c:if>">
        </c:if>

            <c:set var="hasProcessAssistant" value="${(hasDataRelation and isHistoryFlag ne 'true') || showTraceWorkflows}"/>
            <c:set var="hasProcessBook" value="${ not empty summaryVO.summary.templeteId and summaryVO.openFrom ne 'glwd'  and summaryVO.openFrom ne 'newColl'}"/>
            <c:set var="hasDataRelation1" value="${hasProcessAssistant && summaryVO.openFrom ne 'glwd'  && summaryVO.openFrom ne 'supervise'  && summaryVO.openFrom ne  'newColl' && summaryVO.openFrom ne 'capQuery' && hasWorkFlowAdvance}" />
            <c:set var="hasPredictionLink" value="${hasProcessAssistant && summaryVO.canExePrediction}" />

            <ul id="dataRelationBtnArea" class="dataRelationBtnArea">
              <c:if test="${(hasDataRelation1 || hasProcessBook || hasPredictionLink)}">
              <!-- 流程助手 -->
              <li class="processAssistant" title="${ctp:i18n('collaboration.summary.processAssiant.label3.js')}" <c:if test="${hasDataRelation1}">onclick="javascript:guanlianFun(this)"</c:if>><i class="syIcon sy-processAssistant"></i></li>
              </c:if>
              <c:if test="${hasProcessBook}">
                <!-- 查看流程说明书 -->
                <li class="processBook" title="${ctp:i18n('collaboration.summary.processAssiant.label1.js')}" onclick="javascript:processBookFun(this)"><i class="syIcon sy-processBook"></i></li>
              </c:if>
              <!-- 当有高级工作流插件的时候,才显示相关数据 -->
              <c:if test="${hasDataRelation1}">
                <!-- 相关数据 -->
                <li class="dataRelationLink" title="${ctp:i18n('collaboration.summary.processAssiant.label2.js')}" onclick="javascript:guanlianFun(this)"><i class="syIcon sy-dataRelationLink"></i></li>
              </c:if>
              <c:if test="${hasPredictionLink}">
              <!-- 流程预测 -->
              <li class="predictionLink" title="${ctp:i18n('workflow.prediction.label.title')}" onclick="javascript:_executePrediction(this)"><i class="syIcon sy-predict-process"></i></li>
              </c:if>
              <li class="closeRelationLink" title="${ctp:i18n('common.button.close.label')}" onclick="javascript:_executeCloseDataRelation(this)"><i class="syIcon sy-close"></i></li>
            </ul>
            <%--数据关联区域--%>
              <c:if test="${((hasDataRelation and isHistoryFlag ne 'true') || showTraceWorkflows) && hasWorkFlowAdvance}">
	            <div id="dataRelationContentArea" class="dataRelationContentArea">
	              <%@ include file="/WEB-INF/jsp/apps/collaboration/dataRelation.jsp" %>
	            </div>
            </c:if>
            <c:if test="${summaryVO.canExePrediction}">
                 <div id="predictionContentArea" style="overflow: auto;background-color: #fafafa;" class="dataRelationContentArea"></div>
                 <%@ include file="/WEB-INF/jsp/common/workflow/prediction/workflowPrediction.jsp" %>
            </c:if>
        </div>
        <%@ include file="/WEB-INF/jsp/common/supervise/supervise.js.jsp" %>
        <input type="hidden" id="affairId" value="${summaryVO.affairId}">
        <c:if test="${hasDealArea eq 'true'}">
        <div class="collaborationRight" id="east" style="background:#fff;">
            <div class="hidden_side">
              <div id="sideBtn" class="sideBtn" onclick="javascript:hiddenSideFunc()"><i class="zz syIcon sy-arrow-right"></i><i class="ss syIcon sy-arrow-left"></i></div>
              <table class="sideText"><tr><td title="${ctp:i18n('common.handle.opinion.label')}">${ctp:i18n('collaboration.summary.handleOpinion')}</td></tr></table>
            </div>
            <jsp:include page="/WEB-INF/jsp/common/content/contentDeal.jsp" />
        </div>
        </c:if>
        <c:choose>
        	<c:when test="${(summaryVO.openFrom eq 'listPending' && summaryVO.affair.state eq '3')}">
        		<div id="center" class="collaborationLeft" >
        	</c:when>
        	<c:otherwise>
        		<div id="center" class="collaborationLeft" style="right: 10px">
        	</c:otherwise>
        </c:choose>
        <%--<div class="collaborationLeft" id="center" style="right: 10px">--%>
                <c:set var="affair" value="${summaryVO.affair}" />
                <c:set var="summary" value="${summaryVO.summary}" />
                <c:if test="${not empty supervisionItems}">
                    <%@ include file="/WEB-INF/jsp/apps/supervision/summary_supervise_list.jsp"%>
                </c:if>
                <!--查看区域-->
                <div class="h130b stadic_layout"  id="__mainBodyHeight" >
                    <div class="stadic_head_height" id="summaryHead">
                        <!--标题+附件区域-->
                        <div id="colSummaryData" class="newinfo_area title_view">
                            <input type="hidden" value="" id="contentstr" name ="contentstr"/>
                            <input type="hidden" id="summaryId" value="${summary.id}">
                            <input type="hidden" name="isDeleteSupervisior" id="isDeleteSupervisior" value="false">
                            <input id="processId" name="processId" type="hidden" value="${summary.processId}">
                            <input id="subject" name="subject" type="hidden" value="${summary.subject}">
                            <input id="createDate" name="createDate" type="hidden" value="${ctp:formatDateByPattern(summaryVO.createDate, 'yyyy-MM-dd HH:mm:ss')}">
                            <input id="canDeleteORarchive" name="canDeleteORarchive" type="hidden" value="${summaryVO.canDeleteORarchive}">
                            <input id="cancelOpinionPolicy" name="cancelOpinionPolicy" type="hidden" value="${summaryVO.cancelOpinionPolicy}">
                            <input id="disAgreeOpinionPolicy" name="disAgreeOpinionPolicy" type="hidden" value="${summaryVO.disAgreeOpinionPolicy}">
                            <input id="bodyType" name="bodyType" type="hidden" value="${summary.bodyType}">
                            <input id="modifyFlag" name="modifyFlag" type="hidden" value="0"/>
                            <input id="isLoadNewFile" name="isLoadNewFile" type="hidden" value="0"/>
                            <input id="attModifyFlag" name="attModifyFlag" type="hidden" value="0"/><!-- 修改附件标志位 -->
                            <input id="flowPermAccountId" name="flowPermAccountId" type="hidden" value="${summaryVO.flowPermAccountId}" />
                            <input id="templateColSubject" name="templateColSubject" type="hidden" value="${templateColSubject}" /><!-- 模板标题 -->
                            <input id="templateWorkflowId" name="templateWorkflowId" type="hidden" value="${templateWorkflowId}" /><!-- 模板工作流ID -->
                            <input id="_viewState" name="_viewState" type="hidden" value="${_viewState}" />
                            <table border="0" cellspacing="0" cellpadding="0" width="100%" style="table-layout:fixed;">
                                <tr>
                                    <td class="text_overflow title" nowrap="nowrap" style="padding-right:55px;"><span class="padding_l_20 font_size18 font_family_yahei color_black2">
                                        <c:if test="${summaryVO.summary.importantLevel ne null && summaryVO.summary.importantLevel ne '1'}">
                                            <span class='ico16 important${summaryVO.summary.importantLevel}_16 '></span>
                                        </c:if>
                                        <strong title='${(summaryVO.subject)}'>${(summaryVO.subject)}</strong>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                      <span class="padding_l_20 row2Txt">
                                      <a href="#" class="color_gray2 margin_r_10" id="panleStart" onclick="showPeopleCard()">${ctp:toHTML(summaryVO.startMemberName)}</a> <span class="color_gray2">${ctp:formatDateByPattern(summaryVO.createDate, 'yyyy-MM-dd HH:mm')}</span>
                                      </span>
                                    </td>
                                </tr>
                            </table>
                            <%-- 只有模板才显示接收人 --%>
                            <c:if test="${summaryVO.summary.templeteId eq null}">
                            <%--Jerry start 接收人--%>
                            <div id="receiver_div" class="margin_l_20 margin_r_20 receive_people">
                                <table>
                                  <tr>
                                    <td valign="top" style="padding-left: 0;"><span id="receiver_label" class="receive_name" style="word-break:normal;word-wrap:normal;white-space:nowrap;">${ctp:i18n('common.receiving.member.label')}：</span></td>
                                    <%-- <td valign="top"><span id="receiver_label" class="margin_l_5 receive_name" style="word-break:normal;word-wrap:normal;white-space:nowrap;">${ctp:i18n("common.receiving.member.label")}<!-- 接收人 -->：</span></td> --%>
                                    <td>
                                    <div id="receiver_container" class="people_msg margin_l_10" style="max-height: 42px;overflow-x: hidden;overflow-y: hidden;margin-left:0;">
                                    <span id="receiver_container_in">
                                    <c:forEach items="${nodeInfos }" var="nodeInfo" varStatus="vstatus">
                                        <div class="left ${nodeInfo.orgType ne 'more' ? 'hand' : ''} set_name_hover"
                                             <c:if test="${nodeInfo.orgType ne 'more'}" >
                                                onclick="nodeInfoClick('${nodeInfo.nodeId}','${nodeInfo.orgId}','${nodeInfo.orgType}', '${ctp:toHTML(nodeInfo.showName)}')"
                                             </c:if>
                                             style="word-break:normal;word-wrap:normal;white-space:nowrap;height:21px">${ ctp:toHTML(nodeInfo.showName)}${!vstatus.last ? "、":"" }</div>
                                    </c:forEach>
                                    <div style="clear: both;" class="display_none"></div>
                                    </span>
                                    </div>
                                    </td>
                                    <td id="receiver_expand_td" class="display_none" valign="bottom">
                                    <span id="receiver_expand"  data-state="less" onclick="bottomReceiverView(this)" class="margin_l_20 hand" style="word-break:normal;word-wrap:normal;white-space:nowrap;">
                                    <span class="ico16 arrow_2_b margin_l_5" style="margin-bottom:3px;"></span>
                                    <span class="color_blue">${ctp:i18n("common.relate.open.label")}<!-- 展开 --></span>
                                    </span>
                                    </td>
                                  </tr>
                                </table>
                            </div>
                            <%--Jerry end 接收人--%>
                            </c:if>

                            <%--Jerry start 附件--%>

							<table class="" border="0" cellspacing="0" cellpadding="0"
								width="100%" <c:if test="${summaryVO.summary.templeteId eq null}">style='margin-top:-4px;'</c:if>>
								<tr>
									<td colspan="2">
										<div id="attachmentTRshowAttFile" style="display: none;margin-bottom:4px;">
											<div class="left margin_l_20 margin_r_5">
												<span class="ico16 affix_16"></span> (<span
													id="attachmentNumberDivshowAttFile"></span>)
											</div>
											<div id="attFileDomain" isGrid="true" class="comp"
												comp="type:'fileupload',attachmentTrId:'showAttFile',canFavourite:${canAttFavorite},applicationCategory:'1',canDeleteOriginalAtts:false"
												attsdata='${attListJSON }'></div>
										</div>
									</td>
								</tr>
								<tr>
									<td colspan="2">
										<%--关联文档 --%>
                    <%-- OA-94428查看协同时，附件图标与正文挨得太紧，请参照高保真修改
                    class="margin_t_5"不需要了 --%>
										<div id="attachment2TRDoc1" style="margin-bottom:4px; display: none;">
											<div class="left margin_l_20 margin_r_5">
												<span class="ico16 associated_document_16"></span> (<span
													id="attachment2NumberDivDoc1"></span>)
											</div>
											<div style="float: right;" id="assDocDomain" isCrid="true"
												class="comp"
												comp="type:'assdoc',attachmentTrId:'Doc1',applicationCategory:'1',referenceId:'${vobj.summary.id}',modids:1,canDeleteOriginalAtts:false"
												attsdata='${attListJSON }'></div>
										</div>
										<div id="attActionLogDomain" style="display: none;"></div>
									</td>
								</tr>
							</table>

						<%--Jerry start 附件--%>
                        </div>
                        <!--视图切换区域-->
                        <div class="common_tabs common_tabs_big clearfix">
                            <ul class="left margin_l_20">
                                <%-- 正文 --%>
                                <li id="content_view_li" class="current"><a onclick="showContentView()">
                                <c:choose >
                                   <c:when test="${summary.bodyType eq '20'}">
                                		${ctp:i18n('common.form.label')}
                                   </c:when>
                                   <c:otherwise>
                                   		${ctp:i18n('common.toolbar.content.label')}
                                   </c:otherwise>
                                </c:choose>
                                </a></li>
                                <%-- 流程 --%>
                                <li id="workflow_view_li"><a onclick="refreshWorkflow('',true)" >${ctp:i18n('common.workflow.label')}</a></li>


                            </ul>
                            <%--命令按钮区域--%>
                        <div class="orderBt right margin_r_10 align_center" style="margin-top:2px;position:relative;">
                             <div style="position:absolute; right:50px; top:125px;  z-index:90; display:none;overflow:auto;text-align:left;border: 1px #dadada solid; padding: 5px;" id="processAdvanceDIV">
                                <input type="text" id="searchText" onkeypress="enterKeySearch(event)" name="searchText" onfocus="checkDefSubject(this, true)" onblur="checkDefSubject(this, false)" deaultvalue="${ctp:i18n('collaboration.summary.label.search.js')}" value="${ctp:i18n('collaboration.summary.label.search.js')}">
                                <div class="icon_btns">
                                    <span class="syIcon sy-arrow-plane-down" onclick="javascript:doSearch('forward')" class="cursor-hand"></span>
                                    <span class="syIcon sy-arrow-plane-up" onclick="javascript:doSearch('back')" class="cursor-hand"></span>
                                    <span class="syIcon sy-delete-x" onclick="javascript:advanceViews(false)" class="cursor-hand"></span>
                                </div>
                             </div>

                             <%-- 流程最大化，意见查找，附件列表，收藏，新建会议，即时交流，明细日志，属性状态，打印，督办
                              --%>
                             <c:set value="1" var="countBtn" />
                             <c:set value="0" var="countMsgBtn" />

                             <%-- 新建会议  & 及时交流  在已发已办中始终都有，不管流程结束与否，在文档中心等其他都地方没有 --%>
                             <c:if test="${CurrentUser.externalType == 0 and ((param.openFrom eq 'listSent')
                                        or (param.openFrom eq 'listDone')
                                        or (param.openFrom eq 'listPending')
                                        or (param.openFrom eq 'supervise'))&& !isFromTraceFlag && (isHistoryFlag ne 'true')}">
                                   <%-- 会议按钮 --%>
                                  <c:set value="${countMsgBtn + 1}" var="countMsgBtn" />
                                  <input id="createMeetingFlag" title="${ctp:i18n('common.new.meeting.label')}" type="hidden"/>
                             </c:if>

                              <%--多方通话  第二个判断是vjoin --%>
                             <c:if test="${ctp:hasPlugin('multicall') && CurrentUser.externalType == 0}">
                                <c:set value="${countMsgBtn + 1}" var="countMsgBtn" />
                                <%@ include file="/WEB-INF/jsp/plugin/multicall/multicall.jsp" %>
                                <input id="multicallFlag" title="${ctp:i18n('multicall.plugin.label')}" type="hidden"/>
                                <%--
                                <span class="hand left set_color_gray" id="multicall" onclick="multicall()" title="${ctp:i18n('multicall.plugin.label')}">
                                 <span class="syIcon sy-dianhuahuiyi  margin_lr_5 "></span></span>
                                 --%>
                             </c:if>

                            <%--            人工分配按钮                --%>
                            <c:if test="${(allocationType eq 'waitAllocation') or (allocationType eq 'waitGrab')}">
                                <a href="javascript:void(0)" id="allocation" onclick="toAllocation()" class="allocationButton">${ctp:i18n('allocation.button.text.allocation')}</a>
                            </c:if>
                            <c:if test="${(allocationType eq 'waitDeal')}">
                            <%--               重新分配按钮                 --%>
                                <a href="javascript:void(0)" id="allocation" onclick="toAllocation()" class="allocationButton">${ctp:i18n('allocation.button.text.allocationRepeat')}</a>
                            </c:if>

                            <%--正文凭证认证按钮--%>
<%--                            <c:if test="${(showContentIdentify eq 'true') && (summaryVO.summary.bodyType ne 20)}">--%>
<%--                               <span class="hand left" id="contentIdentify" onclick="contentIdentifyCheck(bodyType,affairId)">--%>
<%--                                <span class="syIcon sy-modify_text margin_lr_5" style="color:#1f85ec;">${ctp:i18n('collaboration.content.identify.button')}</span>--%>
<%--                            </span>--%>
<%--                            </c:if>--%>

                             <!-- 致信客户端 -->
                             <c:if test="${countMsgBtn > 0}">
                                 <!-- 当致信插件可用时，才显示致信交流按钮-->
                                 <c:if test="${summaryVO.canShare == 'true'}">
                                     <input id="zhixinCommunicationFlag" title="${ctp:i18n('common.collaboration.label.zhixinCommunication')}" type="hidden"/>
                                 </c:if>
                                 <span class="hand left set_color_gray" id="communicationBtns" title="${ctp:i18n('common.collaboration.label.communication')}">
                                 <span class="syIcon sy-msg margin_lr_5 "></span></span>
                             </c:if>
                             <c:if test="${countMsgBtn == 0}">
	                             <span class="hand left set_color_gray" id="zhixinCommunication" style="display:none" onclick="transWakeZX('1', '${summaryVO.summary.id}', ${hasForward eq true ? '1' : '0'})" title="${ctp:i18n('common.collaboration.label.zhixinCommunication') }">
	                             <span class="syIcon sy-m3-zhixin-fill margin_lr_5 "></span></span>
                             </c:if>

                             <%-- 查看原文档--%>
                             <c:set value="${summaryVO.summary.bodyType}" var = "bodyType"/>
                            
                             <c:if test="${(bodyType eq '41' ||
                                            bodyType eq '42' ||
                                            bodyType eq '43' ||
                                            bodyType eq '44' ||
                                            bodyType eq '45' ||
                                            (bodyType eq '46' && v3x:isEnableWPSOnlineView())) && v3x:isOfficeTran()}">
                                <span class="hand left set_color_gray" id="viewOriginalContentA" onclick="popupContentWin()">
                                <span class="syIcon sy-call_template margin_lr_5" title="${ctp:i18n('collaboration.content.viewOriginalContent')}"></span></span>
                             </c:if>

                             <%-- 打印 --%>
                             <c:if test="${summaryVO.officecanPrint && !isFromTraceFlag && (!isNewColNode || newColNodePolicy.print)}">
                                <c:set value="${countBtn+1}" var="countBtn" />
                                <c:if test="${countBtn<=4}">
                                    <span class="hand left set_color_gray" id="print" onclick="checkPrint()">
                                    <span class="syIcon sy-print margin_lr_5" title="${ctp:i18n('common.toolbar.print.label')}"></span></span>
                                </c:if>
                             </c:if>

                              <%-- 附件列表 --%>
                             <c:if test='${!isFromTraceFlag}'>
                             <c:set value="${countBtn+1}" var="countBtn" />
                                <c:if test="${countBtn<=4}">
                                    <span class="hand left set_color_gray" id="attachmentListFlag1" onclick="javascript:showOrCloseAttachmentList(true)">
                                    <span class="syIcon sy-attachment margin_lr_5" title="${ctp:i18n('collaboration.summary.findAttachmentList')}"></span></span>
                                </c:if>
                                <c:if test="${countBtn>4}">
                                      <input id="attachmentListFlag" type="hidden"/>
                             </c:if>
                             </c:if>

                             <%-- 意见查找 --%>
                             <c:set value="${countBtn+1}" var="countBtn" />
                             <c:if test="${countBtn<=4}">
                                <span class="hand left set_color_gray" id='msgSearch' onclick="javascript:advanceViews(null,this)" title="${ctp:i18n('collaboration.summary.advanceViews')}">
                                  <span class="syIcon sy-search margin_lr_5"></span></span>
                             </c:if>

                             <%-- 明细日志 --%>
                             <c:if test='${!isFromTraceFlag}'>
                             <c:set value="${countBtn+1}" var="countBtn" />
                             <c:if test="${countBtn<=4}">
                                 <span class="hand left font_size12" id="showDetailLog" onclick="showDetailLogFunc()">
                                 <span class="syIcon sy-view_log margin_lr_5" title="${ctp:i18n('collaboration.sendGrid.findAllLog')}"></span>
                                 </span>
                             </c:if>
                             <c:if test="${countBtn>4}">
                                 <input id="showDetailLogFlag" type="hidden"/>
                             </c:if>
                             </c:if>

                             <%--收藏 --%>
                             <%--判断是否有处理后归档权限或者发送协同时勾选了‘归档’，如果没有，则不能收藏 ,a6没有收藏功能--%>
                             <c:if test="${!isHistoryFlag && ((canFavorite && !isFromTraceFlag && (param.openFrom ne 'listSent' or (param.openFrom eq 'listSent' and isNewColNode and newColNodePolicy.pigeonhole and senderCanFavorite)))) and isHistoryFlag ne 'true'}">
                                <c:if test="${param.openFrom ne 'favorite' and param.openFrom ne 'listWaitSend' and param.openFrom ne 'stepBackRecord' and param.openFrom ne 'repealRecord'  and param.openFrom ne 'glwd' and productId ne '0' and summaryVO.affair.state ne '1'}">
	                                    <c:set value="${countBtn+1}" var="countBtn" />
	                                     <c:set value="true" var="hasFavoriteBtn" />
	                                     <c:if test="${countBtn<=4}">
	                                        <span class="hand left display_none" id="favoriteSpan${summaryVO.affairId}" onclick="favoriteFunc()">
                                             <span class="syIcon sy-collect margin_lr_5 " title="${ctp:i18n('common.collection.label')}"></span>${ctp:i18n('common.collection.label')}</span>
	                                        <span class="hand left display_none" id="cancelFavorite${summaryVO.affairId}" onclick="cancelFavoriteFunc()" style="display: none;">
                                             <span class="syIcon sy-collect-fill margin_lr_5" title="${ctp:i18n('common.cancel.collection.label')}"></span>${ctp:i18n('common.cancel.collection.label')}</span>
	                                     </c:if>
	                                     <c:if test="${countBtn>4}">
	                                      <input id="favoriteFlag" type="hidden"/>
	                                	 </c:if>
                                </c:if>
                             </c:if>
                             <%-- 跟踪 --%>
                             <c:if test="${(openFrom eq 'listSent' or openFrom eq 'listDone') and isHistoryFlag ne 'true'}">
                                <c:set value="${countBtn+1}" var="countBtn" />
                                 <c:if test="${countBtn<=4}">
                                    <span class="hand left" id="gzbutton" onclick="setTrack()">
                                     <span class="syIcon sy-trackevent margin_lr_5" title="${ctp:i18n('collaboration.forward.page.label4')}"></span>
                                    </span>
                                 </c:if>
                                <c:if test="${countBtn>4}">
                                      <input id="gzbuttonFlag" type="hidden"/>
                                </c:if>
                             </c:if>

                              <%-- 属性状态 --%>
                              <c:if test='${!isFromTraceFlag}'>
                             <c:set value="${countBtn+1}" var="countBtn" />
                             <c:if test="${countBtn<=4}">
                                <span class="hand left" id="attributeSetting" onclick="attributeSettingDialog()">
                                 <span class="syIcon sy-attribute margin_lr_5 display_none" title="${ctp:i18n('collaboration.common.flag.findAttributeSetting')}">
                                 </span></span>
                             </c:if>
                             <c:if test="${countBtn>4}">
                                  <input id="attributeSettingFlag" type="hidden"/>
                             </c:if>
                             </c:if>

                             <%-- 表单授权：已发表单或者已发归档的表单并且有高级表单插件的可以设置表单授权 --%>
                             <c:if test="${CurrentUser.externalType == 0 && !isHistoryFlag && ((summaryVO.summary.startMemberId eq CurrentUser.id and summaryVO.openFrom eq 'docLib') or summaryVO.openFrom eq 'listSent') and (summaryVO.bodyType eq '20') and ctp:hasPlugin('formAdvanced')}">
                                 <c:set value="${countBtn+1}" var="countBtn" />
                                 <c:if test="${countBtn<=4}">
                                    <span class="hand left" id="formAuthority" onclick="formAuthorityFunc()">
                                     <span class="syIcon sy-newworkflowform margin_lr_5" title="${ctp:i18n('common.toolbar.relationAuthority.label')}"></span>
                                     </span>
                                 </c:if>
                                 <c:if test="${countBtn>4}">
                                     <input id="formAuthorityFlag" type="hidden"/>
                                 </c:if>
                             </c:if>

                             <c:choose>
                                  <c:when test="${param.openFrom eq 'listSent' and (isHistoryFlag ne 'true')}">
                                      <%--如果是已发，则显示督办设置 --%>
                                      <c:set value="${countBtn+1}" var="countBtn" />
                                      <c:if test="${countBtn<=4}">
                                          <span class="hand left" id="showSuperviseSettingWindow" onclick="superviseSettingFunc()">
                                          <span class="syIcon sy-Supervisory-monitoring margin_lr_5" title="${ctp:i18n('common.toolbar.supervise.label')}"></span>
                                          </span>
                                      </c:if>
                                      <c:if test="${countBtn>4}">
                                          <input id="showSuperviseSettingWindowFlag" type="hidden"/>
                                      </c:if>
                                  </c:when>
                                  <c:when test="${((param.openFrom eq 'listDone' and summaryVO.isCurrentUserSupervisor) or param.openFrom eq 'supervise') and (isHistoryFlag ne 'true')}">
                                      <c:set value="${countBtn+1}" var="countBtn" />
                                          <c:if test="${countBtn<=4}">
                                              <!-- 督办 -->
                                              <span class="hand left"  id="showSuperviseWindow" onclick="superviseFunc()">
                                              <span class="syIcon sy-supervisoryevent margin_lr_5" title="${ctp:i18n('common.node.supervise')}"></span>
                                              </span>
                                          </c:if>
                                          <c:if test="${countBtn>4}">
                                             <input id="showSuperviseWindowFlag" type="hidden"/>
                                          </c:if>
                                  </c:when>
                              </c:choose>


                              <%--流程最大化 --%>
                             <c:set value="${countBtn+1}" var="countBtn" />
                             <c:if test="${countBtn<=4}">
                                 <span class="hand left font_size12" id="processMaxFlag" onclick="processFlashMax()" title="${ctp:i18n('collaboration.summary.flowMax')}">
                                 <span class="syIcon sy-process_max margin_lr_5 "></span></span>
                             </c:if>
                             <c:if test="${countBtn>4}">
                                 <input id="_processMaxFlag" type="hidden"/>
                             </c:if>

                            <%-- 更多--%>
                             <c:if test="${countBtn>4}">
                                <span id="caozuo_more" onclick="showCollect()" title="${ctp:i18n('collaboration.common.flag.more')}">
                                    <span  class="syIcon sy-more-fill left"></span>
                                </span>

                             </c:if>
                        </div>
                        <div style="clear: both;"></div>
                        </div>

                        <div class="padding_l_25 padding_t_5 hidden" id="show_edit_workFlow">
                            <%-- 修改流程 --%>
                            <a id="edit_workFlow"  onclick="editWorkFlowFunc()"  class="common_button common_button_gray" >${ctp:i18n('common.detail.label.editWf')}</a>
                        </div>
                   </div>
                   <div id="content_workFlow" class="stadic_layout_body stadic_body_top_bottom processing_view align_center" style="width: 100%;top:30;visibility: visible;">
                        <c:if test="${needPromptedBeBacked eq '1' && hasDealArea}">
	                        <div id="promoteBackedDiv" style="position: absolute;
	                          width: 100%;
	                          top: 0;
	                          left: 0;">
	                          <div style="overflow: hidden;
	                          width: 786px;
	                          margin:0 auto;
	                          height: 36px;
	                          line-height: 36px;
	                          background: rgba(251,130,58,0.80);
	                          color:#fff;
	                          box-shadow: 0 0 4px 0 rgba(0,0,0,0.30);">
	                              <span style="float:left;margin:11px 7px 0 18px;" class="ico16 huituitishi_16"></span>
	                              <span style="float:left;max-width:80%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">${ctp:i18n('collaboration.summary.title.beBacked')}</span>
	                              <span style="float:right;margin:11px 15px 0 0;" onclick="closePromoteBacked()" class="ico16 close_window_16"></span>
	                          </div>
	                        </div>
                        </c:if>
                        <div style="position:absolute; overflow:hidden; width:100%; height:10px;top:-10px;background:url(${path}/common/images/blur.png${ctp:resSuffix()}) repeat-x; box-shadow: 0 0 1px 0px rgba(0,0,0,0.3), 0 0 6px 2px rgba(0,0,0,0.15);background: rgba(255,255,255,0.94);">&nbsp;</div>
<%--                        <iframe  frameborder="0" style="display:none;position:absolute;top:0px;right:20px;width:650px;z-index:90;height: 180px" id="attachmentList" class="over_auto align_right" src="" >--%>
<%--                        </iframe>--%>
                        <iframe id="iframeright" class="hidden bg_color_white" src="about:blank"  width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
                        <c:set var="securityCheckParam" value="&docResId=${param.docResId}&docId=${param.docId}&baseObjectId=${param.baseObjectId}&baseApp=${param.baseApp}&fromEditor=${param.fromEditor}&eventId=${param.eventId}&relativeProcessId=${param.relativeProcessId}&processId=${param.processId}${ctp:csrfSuffix()}"/>

                        <%-- 正文显示iframe --%>
						<div id="content_view_div" class='content_view' style="height:100%;overflow: auto;overflow-y:scroll">
							<ul class="view_ul align_left content_view"  id='display_content_view'>
							    <li id="cc" class="view_li_hasoverflow" style="min-width:786px;text-align:center;">

							        <!--jsp:include page="/WEB-INF/jsp/common/content/content.jsp" /-->


							        <c:choose>
							            <c:when test="${isThirdContent == 'true'}"> <!-- 是第三方正文就直接处理 -->
							                <!-- 以http、https开头的url直接呈现，否则以/开始的拼接上path -->
							                <c:set value="${fn:startsWith(thirdContent.url, 'http') ? thirdContent.url : path.concat(thirdContent.url)}" var = "zwIframeSrc" />
							            </c:when>
                                        <c:when test="${isCAP4 == 'true'}">
                                            <c:set value="${path}/common/cap4/template/display/pc/form/dist/index.html${ctp:resSuffix()}&type=${_viewState == 1 ? 'edit' : 'browse'}&rightId=${ctp:toHTML(_rightId)}&moduleId=${_moduleId }&isSubFlow=${isSubFlow}&moduleType=${_moduleType}&nodeName=${ctp:urlEncoder(affair.nodeName)}${ctp:csrfSuffix()}" var = "zwIframeSrc" />
                                        </c:when>
                                        <c:otherwise>
                                            <c:set value="${path}/content/content.do?method=index&isFullPage=true&hasDealArea=${hasDealArea}&moduleId=${_moduleId}&moduleType=${_moduleType}&rightId=${ctp:toHTML(_rightId)}&contentType=${_contentType}&viewState=${_viewState}&openFrom=${ctp:toHTML(openFrom)}&canDeleteISigntureHtml=${canDeleteISigntureHtml}&isSubFlow=${isSubFlow}&isShowMoveMenu=${isShowMoveMenu}&isShowDocLockMenu=${isShowDocLockMenu}&fromIframeName=summary&nodeName=${ctp:urlEncoder(affair.nodeName)}&officecanPrint=${officecanPrint}&canEditContent=${canEdit}&rnd=${colRand}${ctp:csrfSuffix()}" var = "zwIframeSrc" />
                                        </c:otherwise>
                                    </c:choose>

							        <iframe id='zwIframe' name='zwIframe' style="width:100%;height:786px;" frameborder="0" src="${zwIframeSrc}" onload="if(typeof zwIframeOnloadFn == 'function' ){ zwIframeOnloadFn()}"></iframe>

							        <c:if test="${_contentType == '20' && isCAP4 != 'true'}">
							        <iframe id='zwOfficeIframe' hasLoad="false" hasFocus="false" name='zwOfficeIframe' src="${path}/collaboration/collaboration.do?method=tabOffice&fromIframeName=summary${ctp:csrfSuffix()}" style="width:100%;height:786px;display:none;background-color: white;" frameborder="0"></iframe>
							    	</c:if>
							    </li>
							    <!--附言区域-->
							    <jsp:include page="/WEB-INF/jsp/common/content/commentTpl/defaultForSummary.jsp" />
							    <textarea id='formTextId' class='hidden'>${repealRecordText}</textarea>
							</ul>
						</div>



                        <iframe id="formRelativeDiv" name="formRelativeDiv" width="100%" height="100%" frameborder="0" class="hidden bg_color_white" src=""></iframe>
                        <jsp:include page="/WEB-INF/jsp/common/content/workflow.jsp" />
                    </div>
                    <%-- 跟踪区域开始 --%>
                         <input type="hidden" id="zdgzry" name="zdgzry" />
                         <div id="htmlID" class="hidden">
                        <div class="padding_tb_10 padding_l_10">
                        <input type="text" style="display: none" id="zdgzryName" name="zdgzryName" size="30" onclick="$('radio4').click()"/>
                            <%-- 跟踪 --%>
                            <span class="valign_m">${ctp:i18n('collaboration.forward.page.label4')}:</span>
                            <select id="gz" class="valign_m">
                                <option value="1">${ctp:i18n('common.yes')}</option><%-- 是 --%>
                                <option value="0">${ctp:i18n('common.no')}</option><%-- 否 --%>
                            </select>
                            <div id="gz_ren" class="common_radio_box clearfix margin_t_10">
                                <label for="radio1" class="margin_r_10 hand">
                                    <input type="radio" value="0" id="radio1" name="option" class="radio_com">${ctp:i18n('common.pending.all')}</label><!-- 全部 -->
                                <label for="radio4" class="margin_r_10 hand">
                                    <input type="radio" value="0" id="radio4"  onclick="trackPartFunc()" name="option" class="radio_com">${ctp:i18n('col.track.part')}</label><!-- 指定人 -->
                            </div>
                        </div>
                    </div>
                    <%-- 跟踪区域结束 --%>
                    <input type="hidden" name="can_Track" id="can_Track" value="${summary.canTrack ? 1 : 0}" />
                    <input type="hidden" name="trackType" id="trackType" value="${fn:escapeXml(trackType)}" />
            </div>
        </div>
    </div>
</body>

<script type="text/javascript" >

// 在渲染收藏按钮的时候重置过这个参数的状态，所以这个参数放在下面定义
var hasFavoriteBtn = "${hasFavoriteBtn}";

var proce = null;
try {
    <%-- 进度条提前显示，尽量给用户反馈的时间提前 ----%>
    proce = $.progressBar();
    if(window.console && window.console.log){
        window.console.log("start proce in summary.jsp");
    }
} catch (e) {
}
</script>

<c:if test="${summaryVO.summary.bodyType == 20}">
  <%@ include file="/WEB-INF/jsp/ctp/form/design/formDevelopmentOfadv.jsp" %>
</c:if>

<c:if test="${ctp:hasPlugin('bulletin')}">
<jsp:include page="/WEB-INF/jsp/bulletin/bulletin_issue_js.jsp" flush="true"></jsp:include>
</c:if>
<c:if test="${ctp:hasPlugin('news')}">
<jsp:include page="/WEB-INF/jsp/news/news_issue_js.jsp" flush="true"></jsp:include>
</c:if>
<%@ include file="/WEB-INF/jsp/apps/collaboration/new_print.js.jsp" %>

<c:if test="${(isSystemTemplete and ctp:hasPlugin('workflowAdvanced')) || param.from == 'waitSend'}">
<%@ include file="/WEB-INF/jsp/ctp/form/formreport/form/queryReport/formreport_chart.js.jsp"%>
</c:if>
<c:if test="${ctp:hasPlugin('calendar')}">
<script type="text/javascript" src="${path}/apps_res/calendar/js/calEvent_Create_addData_js.js${ctp:resSuffix()}"></script>
</c:if>
<script type="text/javascript">
<%--OfficeObjExtshowExt定义在summary.js中，所以需要先引用summary.js, 不可以和上面的js合并， IE8下面load会有问题--%>

// if(bodyType == '41' || bodyType =="42" || bodyType=='43' || bodyType =='44' || bodyType =='45'){
// 	OfficeObjExt.showExt = OfficeObjExtshowExt;
// }
var showDataRelFlag = ${(hasDataRelation || showTraceWorkflows) && isHistoryFlag ne 'true'};

</script>
<!-- EBS特殊代码 - start -->
<script type="text/javascript" charset="UTF-8" src="/seeyon/apps_res/collaboration/js/ebs-detail.js"></script>
<!-- EBS特殊代码 - end -->
<%-- 插件相关的 CSS/JS 文件 --%>
<%@ include file="/WEB-INF/jsp/apps/collaboration/merge-PluginResourceLoad.jsp"%>
<%-- 金格弹窗相关文件 --%>
<% if (isDevelop) { %>
<link rel="stylesheet" href="${path}/common/isignaturehtml/artDialog/ui-dialog.css${ctp:resSuffix()}">
<link rel="stylesheet" href="${path}/common/isignaturehtml/core/kinggrid.plus.css${ctp:resSuffix()}">
<% } %>

</html>